<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.exam.domain.*"%>
<%Administrator admin= (Administrator)session.getAttribute("admininfo"); %>
<%String couExist=(String)request.getParameter("couExist"); %>
<%String param=(String)request.getParameter("param"); %>

<script type="text/javascript">
function warning(param)
{
	if(param==1)	alert("此编号已注销！");
	if(param==2)	alert("查无此课！");
}
</script>
<title>E-Exam</title>
<link rel="stylesheet" href="2col_leftNav.css" type="text/css" />
<style type="text/css">
<!--
.STYLE2 {font-size: medium}
.STYLE3 {
	color: #334d55;
	font-size: large;
	font-weight: bold;
}
body {background-color: #FFFFFF;}
-->
</style>
</head>
<!-- The structure of this file is exactly the same as 2col_rightNav.html;
     the only difference between the two is the stylesheet they use -->
<body>
<div id="masthead">
  <h1 id="siteName"><img src="e-exam.gif" width="603" height="152"/></h1>
  <div class="relatedLinks" id="globalNav">
    <h1><marquee behavior="scroll"width="300px">欢迎来到在线考试系统,<%=admin.getA_name()%>管理员.</marquee></h1>
  </div>
</div>
<!-- end masthead -->
<div id="content">
  <div id="breadCrumb"> <a href="admin.jsp">管理员首页</a> / <a href="about.html">关于系统</a> / <a href="about.html">联系我们</a> /</div>
  <h2 id="pageName">课程管理中心</h2>
  <div class="feature">
    <h2 id="pageName"><a href="admin_addcou.jsp?param=0">添加新课程</a></h2>
    <h2 id="pageName"><a href="courselist.jsp">修改/删除课程信息</a></h2>
    <h2 id="pageName"><br /></h2>
    <h2>&nbsp;&nbsp; 查询课程信息</h2>
    <form id="form2" name="form2" method="post" action="servlet/SearchCouServlet">&nbsp;&nbsp; 
       输入课程ID 
      <input type="text" name="textfield" />
        <input type="submit" name="Submit2" value="查询" />
    </form>
    
  </div>
  <div class="story">
    <h3>&nbsp;</h3>
</div>
  <div class="story"></div>
</div>
<!--end content -->
<div id="navBar">
  <div id="search">
    <form action="#">
      <label></label>
    </form>
  </div>
  <div id="sectionLinks">
    <ul>
      <li><a href="admin_t.jsp">教师管理</a></li>
      <li><a href="admin_s.jsp">学生管理</a></li>
      <li><a href="admin_c.jsp">课程管理</a></li>
      <li><a href="admin_personal.jsp">个人设定</a></li>
      <li><a href="index.jsp">退出</a></li>
    </ul>
  </div>
  <div class="relatedLinks"></div>
  <br /><br /><br /><div class="relatedLinks">
    <ul>
      <li></li>
    </ul>
  </div>
</div>
<!--end navbar -->
<div id="siteInfo"> <img src="title.gif" width="95" height="46" />| &copy;2011 E-EXAM.co.ltd </div>
<br />
<script  type="text/javascript">
	warning(<%=couExist%>);
</script>
<script type="text/javascript">
	if(<%=param%>==6)	alert("修改成功！");
	if(<%=param%>==7)	alert("删除成功！");
</script>
</body>
</html>
